""" Zelenium product initialization

This product uses the Selenium javascript to run browser-driven tests.
"""

import zuite
import zelenium
import permissions
import upload

zelenium_globals = globals()

def initialize(context):

    context.registerClass( zuite.Zuite
                         , permission=permissions.ManageSeleniumTestCases
                         , constructors=( zuite.manage_addZuiteForm
                                        , zuite.manage_addZuite
                                        )
                         , icon='www/check.gif'
                         )

    context.registerClass(zelenium.Zelenium
                          , permission=permissions.ManageSeleniumTestCases
                          , constructors=(zelenium.manage_addZeleniumForm,
                                          zelenium.manage_addZelenium)
                          ,
                          )
